<?php 
if($sf_user->hasCredential($Right)):
echo link_to(image_tag("Icons/moderation/".$img, array("width" => 20,"height" => 20, "alt" => "pict")), sfOutputEscaper::unescape($Url), 
             array(
                 'confirm' => 'Confirmé?', 
                 'title'   => $title
             )
         );
endif;
?>